package cn.byapps.hw.service;

import cn.byapps.hw.entity.Clazz;
import cn.byapps.hw.entity.Course;
import cn.byapps.hw.entity.SerialPK;
import cn.byapps.hw.entity.Teacher;
import cn.byapps.hw.vo.ClazzTimetableData;
import cn.byapps.hw.vo.VueData;

import java.text.ParseException;
import java.util.List;

public interface SerialPKService {
    List<SerialPK> getClazzbyTeacher(Teacher teacher);

    List<SerialPK> getClazzByTeacherNums(Clazz clazz);

    List<SerialPK> getCourse(Course course);

    void save(SerialPK serialPK);

    SerialPK getByTeacherAndCourse(Course course, Teacher teacher, Clazz clazz);

    void delete(SerialPK serialPK);

    SerialPK getByClazzAndCourse(Integer courseId, Integer clazzId);

    VueData<String> addmore(ClazzTimetableData clazzTimetableData) throws ParseException;
}
